<ion-view class="tagPrint-view" view-title="标签打印">
    <ion-header-bar class="bar-subheader">
        <im-card-header card-title="单品信息">
            <im-pull-right>
                <span ng-class="{true: 'green-color', false: 'red-color'}[data.flagPrintConnect]">{{data.PrintConnect}}</span>
            </im-pull-right>
        </im-card-header>
        <div class="im-flow-container">
            <im-master-item class="im-flow-item" master-name="芯片" master-value="{{data.barcode.Barcode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="型号" master-value="{{data.barcode.ItemMasterCode}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="尺寸" master-value="{{data.barcode.DescSeg1}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="外观" master-value="{{data.barcode.DescSeg2}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="批次" master-value="{{data.barcode.MOLotNumber}}">
            </im-master-item>
            <im-master-item class="im-flow-item" master-name="工单" master-value="{{data.barcode.MOCode}}">
            </im-master-item>
        </div>
        <im-card-header card-title="标签打印">
            
        </im-card-header>
        <div class="span-top">
        </div>
            <span class="tagPrint-span-left">班别</span><span class="tagPrint-span-right" ng-click="getClasses()"> {{data.selectClass}}</span>
        
        
    </ion-header-bar>
    <ion-content>
        <!-- <div class="im-flow-container">
            <button ng-click="getPairedDevices()" class="button button-outline button-positive">蓝牙</button>
            <button ng-click="connect()" class="button button-outline button-positive">连接</button>
            <button ng-click="print()" class="button button-outline button-positive">打印</button>
        </div>
        </div> -->
    </ion-content>
    <ion-footer-bar >
        <im-pull-right>
            <!-- <button  ng-click="submitData()" class="button checkWork-button-judge">确认</button> -->
            <!-- {{data.selectDevice}} -->
            <button   ng-click="getData()" class="button tagPrint-button-tooth">打印测试</button>
            <button   ng-click="getPairedDevices()" class="button tagPrint-button-tooth">蓝牙</button>
            <button  ng-click="connect()" class="button tagPrint-button-link">连接</button>
            
            <button  ng-click="print()" class="button tagPrint-button-print">打印</button>

        </im-pull-right>
    </ion-footer-bar>
</ion-view>
